home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7172 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  999 b 

  1. Path: toad.stack.urc.tue.nl!not-for-mail
  2. From: jaco@stack.urc.tue.nl (Jaco Schoonen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: GetSysTime() accuracy
  5. Date: 11 Apr 1996 02:38:35 +0200
  6. Organization: MCGV Stack, Eindhoven University of Technology, the Netherlands.
  7. Message-ID: <4khkab$7p2@toad.stack.urc.tue.nl>
  8. NNTP-Posting-Host: toad.stack.urc.tue.nl
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi!
  12.  
  13. I was playing with GetSysTime() from the timer.device today and I was
  14. wondering about something:
  15.  
  16. If I call it in a loop, the first value for tv.micros will always end with
  17. 0000 or 0001. Then it get's 50-250 times increases by 1 and then suddenly
  18. skips about 0.02 seconds! 
  19. It makes it quite unusable for me. I need to get the system time in 0.01
  20. seconds precision. 
  21. What should I do? Should I really start bothering with CIA-timers, or is
  22. there another way of doing this through timer.device? I don't feel like
  23. messing with cia-timers myself...
  24.  
  25. Thanks a lot!
  26.  
  27. --
  28. Jaco Schoonen
  29. (jaco@stack.urc.tue.nl)
  30.